package game;

import java.util.Scanner;

public class Computer {
    String name;
    int WinCount;
    public int show() {
       int num = (int)(Math.random()*100%3+1);
       return num;
    }
    public String showName(int num) {
        switch (num) {
            case 1:
                return ("电脑出的是石头");
            case 2:
                return ("电脑出的是剪刀");
            case 3:
                return ("电脑出的是布");
        }
        return "";
    }
}
